Skip to content

Instantly share code, notes, and snippets.

@kevinzhow
Last active March 28, 2022 07:38
Show Gist options
  • Save kevinzhow/5f68c99760463a3dc195f7bd18ab64af to your computer and use it in GitHub Desktop.
Save kevinzhow/5f68c99760463a3dc195f7bd18ab64af to your computer and use it in GitHub Desktop.
albatross
# albatross
version: '3.7'
services:
app:
image: ghcr.io/kevinzhow/albatross:latest
restart: unless-stopped
environment:
LOG_LEVEL: ${LOG_LEVEL:-debug}
ADMIN_USERNAME: albatross
ADMIN_PASSWORD: albatross
#ENABLE_TLS: "true"
ports:
- '1780:8080'
volumes:
- ./data:/app/data/
#- /path/to/cert.pem:/app/certs/cert.pem
#- /path/to/key.pem:/app/certs/key.pem
user: root # uncomment to run as root for testing purposes even though Dockerfile defines 'vapor' user.
command:
[
"serve",
"--env",
"production",
"--hostname",
"0.0.0.0",
"--port",
"8080"
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment