website/compose.yml

40 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:
2023-01-08 22:37:59 +05:30
- 1339:3000
2022-12-31 23:44:28 +05:30
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
2023-01-10 19:43:53 +05:30
website-db:
image: mongo
2022-12-30 23:26:51 +05:30
container_name: website-db
restart: unless-stopped
2023-01-10 19:43:53 +05:30
volumes:
- website-db-data:/data/db
environment:
MONGO_INITDB_ROOT_USERNAME: $MONGO_USER
MONGO_INITDB_ROOT_PASSWORD: $MONGO_PASSWORD
MONGO_INITDB_DATABASE: website
command: [--auth]
volumes:
2022-12-30 23:26:51 +05:30
website-db-data: