add docker-compose.staging.yaml
This commit is contained in:
46
docker-compose.staging.yaml
Normal file
46
docker-compose.staging.yaml
Normal file
@@ -0,0 +1,46 @@
|
|||||||
|
services:
|
||||||
|
config-service:
|
||||||
|
image: git.mars3142.dev/firmware-hub/config-service:latest
|
||||||
|
restart: always
|
||||||
|
deploy:
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
memory: 512M
|
||||||
|
networks:
|
||||||
|
- network
|
||||||
|
labels:
|
||||||
|
- "com.centurylinklabs.watchtower.enable=true"
|
||||||
|
environment:
|
||||||
|
- "OTEL_SERVICE_NAME=config-service"
|
||||||
|
- "GIT_LOGIN_USER=mars3142"
|
||||||
|
- "GIT_TOKEN=ad41894987434a30028632d4d8a78e9b278942a1"
|
||||||
|
- "GIT_USER=Firmware-HUB"
|
||||||
|
- "GIT_REPO=remote-config"
|
||||||
|
env_file:
|
||||||
|
- stack.env
|
||||||
|
|
||||||
|
timezone-service:
|
||||||
|
image: git.mars3142.dev/firmware-hub/timezone-service:latest
|
||||||
|
restart: always
|
||||||
|
depends_on:
|
||||||
|
config-service:
|
||||||
|
condition: service_healthy
|
||||||
|
restart: true
|
||||||
|
deploy:
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
memory: 512M
|
||||||
|
networks:
|
||||||
|
- network
|
||||||
|
labels:
|
||||||
|
- "com.centurylinklabs.watchtower.enable=true"
|
||||||
|
environment:
|
||||||
|
- "OTEL_SERVICE_NAME=timezone-service"
|
||||||
|
env_file:
|
||||||
|
- stack.env
|
||||||
|
|
||||||
|
networks:
|
||||||
|
network:
|
||||||
|
driver: bridge
|
||||||
|
traefik:
|
||||||
|
external: true
|
||||||
Reference in New Issue
Block a user