2022-11-10 00:12:34 +05:30
|
|
|
services:
|
2022-12-30 23:26:51 +05:30
|
|
|
website:
|
|
|
|
container_name: website
|
|
|
|
#image: realprojectsegfault/website
|
|
|
|
restart: unless-stopped
|
2022-12-30 22:32:49 +05:30
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: Dockerfile
|
2022-12-30 23:26:51 +05:30
|
|
|
environment:
|
|
|
|
AUTH_SECRET: ${AUTH_SECRET}
|
2022-11-10 00:12:34 +05:30
|
|
|
ports:
|
2022-12-30 23:26:51 +05:30
|
|
|
- 1337:4173
|
2022-12-30 22:32:49 +05:30
|
|
|
volumes:
|
|
|
|
- ./config:/app/config
|
2022-12-30 23:26:51 +05:30
|
|
|
website-db:
|
|
|
|
image: postgres
|
|
|
|
container_name: website-db
|
2022-12-30 22:32:49 +05:30
|
|
|
environment:
|
2022-12-30 23:26:51 +05:30
|
|
|
POSTGRES_USER: postgres
|
|
|
|
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
|
|
|
PGDATA: /data/postgres
|
|
|
|
POSTGRES_DB: website
|
|
|
|
volumes:
|
|
|
|
- website-db-data:/data/postgres
|
|
|
|
ports:
|
|
|
|
- "5432:5432"
|
|
|
|
restart: unless-stopped
|
2022-12-30 22:32:49 +05:30
|
|
|
|
|
|
|
volumes:
|
2022-12-30 23:26:51 +05:30
|
|
|
website-db-data:
|