Skip to content

Commit

Permalink
Merge pull request #4 from SaneiSaya/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
SaneiSaya authored Jul 27, 2023
2 parents a3ad714 + c23c972 commit fc870d3
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
version: '3.8'
services:
enms:
container_name: enms
image: saneisaya/enms:latest
restart: always
volumes:
- /data/docker/projects:/root/projects
- /data/docker/eNMS:/eNMS
- ./scheduler.json:/eNMS/scheduler.json
- ./authentication.json:/eNMS/authentication.json
- ./configuration.json:/eNMS/configuration.json
- ./project.json:/eNMS/project.json
- ./service.json:/eNMS/service.json
- ./slack.json:/eNMS/slack.json
labels:
- "traefik.enable=true"
- "traefik.http.routers.enms.rule=Host(`your.domain`)"
- "traefik.http.routers.enms.entrypoints=enms"
# - "traefik.http.routers.enms.tls.certresolver=myresolver"
- "traefik.http.services.enms.loadbalancer.server.port=5000"
networks:
- traefik_proxy
depends_on:
db:
condition: service_started
db:
image: mariadb:10.5
restart: always
environment:
- MYSQL_ROOT_PASSWORD=root_password
- MYSQL_DATABASE=enms
- MYSQL_USER=enms
- MYSQL_PASSWORD=enms_password
volumes:
- /data/docker/db_data:/var/lib/mysql
networks:
traefik_proxy:
external: true

0 comments on commit fc870d3

Please sign in to comment.