website/compose.yml

41 lines
1.2 KiB
YAML
Raw Normal View History

2022-11-10 00:12:34 +05:30
services:
2022-12-30 23:26:51 +05:30
website:
container_name: website
2022-12-31 23:44:28 +05:30
#image: realprojectsegfault/website:latest
2022-12-30 23:26:51 +05:30
restart: unless-stopped
build:
context: .
dockerfile: Dockerfile
2022-11-10 00:12:34 +05:30
ports:
2022-12-31 23:44:28 +05:30
- 1339:4173
environment:
AUTH_SECRET: ${AUTH_SECRET}
AUTH_TRUST_HOST: ${AUTH_TRUST_HOST}
AUTH_URL: ${AUTH_URL}
DB_HOST: ${DB_HOST}
DB_PORT: ${DB_PORT}
DB_USERNAME: ${DB_USERNAME}
DB_PASSWORD: ${DB_PASSWORD}
AUTH_CLIENT_ID: ${AUTH_CLIENT_ID}
AUTH_CLIENT_SECRET: ${AUTH_CLIENT_SECRET}
AUTH_ISSUER: ${AUTH_ISSUER}
HCAPTCHA_SECRET: ${HCAPTCHA_SECRET}
HCAPTCHA_SITEKEY: ${HCAPTCHA_SITEKEY}
WEBHOOK: ${WEBHOOK}
2023-01-06 13:46:32 +05:30
#args: [ "ORIGIN=" ]
2022-12-31 23:44:28 +05:30
website-db-dev:
2022-12-30 23:26:51 +05:30
image: postgres
container_name: website-db
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
2022-12-31 23:44:28 +05:30
2022-12-30 23:26:51 +05:30
restart: unless-stopped
volumes:
2022-12-30 23:26:51 +05:30
website-db-data: