mirror of
https://github.com/Fluffy-Bean/Fluffys-website.git
synced 2025-06-19 00:20:37 +00:00
💀
This commit is contained in:
parent
7617e19e66
commit
4394e713bd
4 changed files with 24 additions and 10 deletions
|
@ -5,18 +5,28 @@ services:
|
|||
image: postgres:alpine
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./postgres/data:/var/lib/postgresql/data
|
||||
- ./data/postgres:/var/lib/postgresql/data
|
||||
environment:
|
||||
POSTGRES_USER: ${POSTGRES_USER}
|
||||
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
||||
POSTGRES_DB: ${POSTGRES_DB}
|
||||
|
||||
# proxy:
|
||||
# image: caddy:alpine
|
||||
# restart: unless-stopped
|
||||
# ports:
|
||||
# - "80:80"
|
||||
# volumes:
|
||||
# - ./data/caddy/Caddyfile:/etc/caddy/Caddyfile
|
||||
# - ./data/static:/website/static
|
||||
# - ./data/media:/website/media
|
||||
|
||||
website:
|
||||
build: website
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./data/media:/website/media
|
||||
- ./data/static:/app/static
|
||||
- ./data/media:/app/media
|
||||
environment:
|
||||
DJANGO_KEY: ${DJANGO_KEY}
|
||||
POSTGRES_USER: ${POSTGRES_USER}
|
||||
|
@ -25,4 +35,5 @@ services:
|
|||
depends_on:
|
||||
- db
|
||||
ports:
|
||||
- "6212:8000"
|
||||
- "8000:8000"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue