Initial Digitribe ONIX setup
Some checks failed
Terraform Deploy to GCP / Terraform Plan Only (push) Has been cancelled
Some checks failed
Terraform Deploy to GCP / Terraform Plan Only (push) Has been cancelled
This commit is contained in:
37
docker-compose.yml
Normal file
37
docker-compose.yml
Normal file
@@ -0,0 +1,37 @@
|
||||
services:
|
||||
redis:
|
||||
image: redis:7-alpine
|
||||
container_name: onix-redis
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- onix-network
|
||||
|
||||
onix:
|
||||
image: onix-adapter:latest
|
||||
container_name: onix-adapter
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- CONFIG_FILE=/app/config/local-dev.yaml
|
||||
volumes:
|
||||
- ./config:/app/config
|
||||
- ./schemas:/app/schemas
|
||||
- ./plugins:/app/plugins
|
||||
networks:
|
||||
- onix-network
|
||||
- traefik-public
|
||||
depends_on:
|
||||
- redis
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.onix.rule=Host(`onix.digitribe.fr`)"
|
||||
- "traefik.http.routers.onix.entrypoints=web"
|
||||
- "traefik.http.routers.onix.entrypoints=websecure"
|
||||
- "traefik.http.routers.onix.tls=true"
|
||||
- "traefik.http.routers.onix.tls.certresolver=letsencrypt"
|
||||
- "traefik.http.services.onix.loadbalancer.server.port=8081"
|
||||
|
||||
networks:
|
||||
onix-network:
|
||||
driver: bridge
|
||||
traefik-public:
|
||||
external: true
|
||||
Reference in New Issue
Block a user