Add silverstrike.
This commit is contained in:
parent
56a72a55e0
commit
3de9dad43f
0
silverstrike/README.md
Normal file
0
silverstrike/README.md
Normal file
38
silverstrike/docker-compose.yml
Normal file
38
silverstrike/docker-compose.yml
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
version: '3.5'
|
||||||
|
|
||||||
|
networks:
|
||||||
|
default:
|
||||||
|
external:
|
||||||
|
name: traefik_default
|
||||||
|
|
||||||
|
services:
|
||||||
|
silverstrike-app:
|
||||||
|
env_file: live.env
|
||||||
|
image: simhnna/silverstrike
|
||||||
|
container_name: silverstrike-app
|
||||||
|
labels:
|
||||||
|
# Watchtower
|
||||||
|
- "com.centurylinklabs.watchtower.enable=true"
|
||||||
|
# Routes
|
||||||
|
- "traefik.enable=true"
|
||||||
|
- "traefik.http.routers.silverstrike.entrypoints=websecure"
|
||||||
|
- "traefik.http.routers.silverstrike.rule=Host(`silverstrike.${DOMAIN}`)"
|
||||||
|
- "traefik.http.routers.silverstrike.tls=true"
|
||||||
|
- "traefik.http.routers.silverstrike.tls.certresolver=myresolver"
|
||||||
|
networks:
|
||||||
|
- default
|
||||||
|
ports:
|
||||||
|
- 8100:8000
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
|
silverstrike-db:
|
||||||
|
env_file: live.env
|
||||||
|
image: postgres:14
|
||||||
|
container_name: silverstrike-db
|
||||||
|
labels:
|
||||||
|
# Watchtower
|
||||||
|
- "com.centurylinklabs.watchtower.enable=true"
|
||||||
|
networks:
|
||||||
|
- default
|
||||||
|
volumes:
|
||||||
|
- ${SILVERSTRIKE_ROOT}/db:/var/lib/postgresql/data
|
12
silverstrike/live.env.tpl
Normal file
12
silverstrike/live.env.tpl
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
# Silverstrike
|
||||||
|
ALLOWED_HOSTS='https://silverstrike.domain.com'
|
||||||
|
DATABASE_URL=postgres://dbuser:dbpassword@dbdockerhostname/dbname
|
||||||
|
SECRET_KEY=SUPER_SECRET_CHANGE_ME
|
||||||
|
SILVERSTRIKE_ROOT=/home/compute/services/silverstrike
|
||||||
|
DEBUG=False
|
||||||
|
DOMAIN=domain.com
|
||||||
|
|
||||||
|
# Postgres
|
||||||
|
POSTGRES_DB=dbname
|
||||||
|
POSTGRES_USER=dbuser
|
||||||
|
POSTGRES_PASSWORD=dbpassword
|
Loading…
Reference in New Issue
Block a user