Skip to content

Commit

Permalink
Merge pull request #472 from jesusantguerrero/jesusantguerrero-patch-9
Browse files Browse the repository at this point in the history
Update docker-compose.coolify.yml
  • Loading branch information
jesusantguerrero authored Sep 13, 2024
2 parents 32f5ba6 + 4e76d7f commit 36e5763
Showing 1 changed file with 15 additions and 18 deletions.
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

0 comments on commit 36e5763

Please sign in to comment.