Skip to content

Commit

Permalink
Update docker-compose.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
l4rm4nd committed May 21, 2024
1 parent 78935d1 commit 7ac1921
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions examples/rxresume/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ services:
container_name: rx-minio
restart: unless-stopped
command: server /data
ports:
- 9000:9000
expose:
- 9000
volumes:
Expand All @@ -35,6 +37,13 @@ services:
- MINIO_ROOT_PASSWORD=minioadmin
#networks:
# - proxy
#labels:
# - traefik.enable=true
# - traefik.docker.network=proxy
# - traefik.http.routers.minio.rule=Host(`storage.example.com`)
# - traefik.http.services.minio.loadbalancer.server.port=9000
# # Optional part for traefik middlewares
# - traefik.http.routers.minio.middlewares=local-ipwhitelist@file

chrome:
image: ghcr.io/browserless/chromium:latest
Expand All @@ -53,6 +62,8 @@ services:
image: amruthpillai/reactive-resume:latest
container_name: rx-resume
restart: unless-stopped
ports:
- 3000:3000
expose:
- 3000
depends_on:
Expand All @@ -62,8 +73,8 @@ services:
environment:
- PORT=3000
- NODE_ENV=production
- PUBLIC_URL=http://rx-resume:3000
- STORAGE_URL=http://rx-minio:9000/default
- PUBLIC_URL=http://localhost:3000 # replace with your https url if reverse proxy in use; e.g. https://resume.example.com
- STORAGE_URL=http://localhost:9000/default # replace with your https url if reverse proxy in use; e.g. https://storage.example.com
- CHROME_TOKEN=chrome_token
- CHROME_URL=ws://chrome:3000
- DATABASE_URL=postgresql://postgres:postgres@postgres:5432/postgres
Expand Down

0 comments on commit 7ac1921

Please sign in to comment.