Skip to content

Commit

Permalink
Create epam-deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
epam-vkerkhoff authored Nov 9, 2023
1 parent c835ee5 commit 67939d3
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions epam-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
version: '3.3'
services:
app:
image: git.bbnavi.vk256.eu/bbnavi/datahub-cms:latest
environment:
RAILS_ENV: production
RAILS_LOG_TO_STDOUT: 1
configs:
- source: mainserver-common-master-key
target: /app/config/master.key
networks:
- public
logging:
driver: awslogs
deploy:
labels:
traefik.docker.network: public
traefik.enable: 'true'
traefik.http.routers.bbnavi-cms.entrypoints: websecure
traefik.http.routers.bbnavi-cms.rule: Host(`cms.bbnavi.vk256.eu`)
traefik.http.routers.bbnavi-cms.tls.certresolver: acme
traefik.http.services.cms.loadbalancer.server.port: '80'
placement:
constraints:
- node.role == worker
volumes:
unicorn:
assets:

configs:
mainserver-common-master-key:
external: true

networks:
public:
external: true

0 comments on commit 67939d3

Please sign in to comment.