Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update docker-compose.coolify.yml #472

Merged
merged 1 commit into from
Sep 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 15 additions & 18 deletions docker-compose.coolify.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,19 @@
services:
nginx:
image: nginx:alpine
container_name: loger-nginx
restart: unless-stopped
ports:
- 8088:80
volumes:
- ./:/var/www
- ./docker-compose/nginx/vhosts:/etc/nginx/conf.d/
- ./:/usr/share/nginx/html
environment:
- VIRTUAL_PORT=8088
- VIRTUAL_HOST=${VIRTUAL_APP_HOST}
- LETSENCRYPT_HOST=${VIRTUAL_APP_HOST}
- [email protected]
loger:
build:
args:
Expand All @@ -9,25 +24,7 @@ services:
image: loger
container_name: loger-app
restart: unless-stopped
ports:
- "8088:9000"
volumes:
- ./storage:/var/www/storage
environment:
DEBUG: "debug"
# Change the following value if you know how it works.
# MERCURE_TRANSPORT_URL: "bolt://mercure.db"
MERCURE_PUBLISHER_JWT_KEY: "${MERCURE_PUBLISHER_JWT_KEY}"
MERCURE_SUBSCRIBER_JWT_KEY: "${MERCURE_SUBSCRIBER_JWT_KEY}"
# In the cors_origin, add your domain(s). Or just use *
MERCURE_EXTRA_DIRECTIVES: |-
cors_origins "*"
anonymous
NODE_ENV: production
VIRTUAL_PORT: 8000
VIRTUAL_HOST: ${VIRTUAL_LANDING_HOST}
LETSENCRYPT_HOST: ${VIRTUAL_LANDING_HOST}
LETSENCRYPT_EMAIL: [email protected]
env_file:
- .env

Loading