fix docker image labels and domains

pull/4/head
Cameron Clough 2022-04-20 20:43:53 +01:00
parent 4de7e7f1ea
commit a1df338f82
No known key found for this signature in database
GPG Key ID: BFB3B74B026ED43F
2 changed files with 6 additions and 6 deletions

View File

@ -26,7 +26,7 @@ services:
# API server # API server
api: api:
# Use the retropilot-server image from the GitHub Container Registry # Use the retropilot-server image from the GitHub Container Registry
image: ghcr.io/retropilot/retropilot-server:uat image: ghcr.io/retropilot/retropilot-server:production
restart: unless-stopped restart: unless-stopped
volumes: volumes:
# Mount realdata dir to /realdata in the container # Mount realdata dir to /realdata in the container
@ -38,7 +38,7 @@ services:
# API service forwards requests to container port 8080 # API service forwards requests to container port 8080
- "traefik.http.services.api.loadbalancer.server.port=8080" - "traefik.http.services.api.loadbalancer.server.port=8080"
# Expose api at https://uat.api.retropilot.org # Expose api at https://uat.api.retropilot.org
- "traefik.http.routers.api.rule=Host(`uat.api.retropilot.org`) || Host(`uat.api.retropilot.org`)" - "traefik.http.routers.api.rule=Host(`api.retropilot.org`)"
- "traefik.http.routers.api.entrypoints=websecure" - "traefik.http.routers.api.entrypoints=websecure"
- "traefik.http.routers.api.service=api@docker" - "traefik.http.routers.api.service=api@docker"
- "traefik.http.routers.api.tls=true" - "traefik.http.routers.api.tls=true"
@ -50,7 +50,7 @@ services:
# API worker # API worker
worker: worker:
# Use the same image as the server # Use the same image as the server
image: ghcr.io/retropilot/retropilot-server:uat image: ghcr.io/retropilot/retropilot-server:production
# But run the worker script instead # But run the worker script instead
command: npm run worker command: npm run worker
restart: unless-stopped restart: unless-stopped

View File

@ -39,7 +39,7 @@ services:
# API server # API server
api: api:
# Use the retropilot-server image from the GitHub Container Registry # Use the retropilot-server image from the GitHub Container Registry
image: ghcr.io/retropilot/retropilot-server:uat image: ghcr.io/retropilot/retropilot-server:main
restart: unless-stopped restart: unless-stopped
volumes: volumes:
# Mount realdata dir to /realdata in the container # Mount realdata dir to /realdata in the container
@ -51,7 +51,7 @@ services:
# API service forwards requests to container port 8080 # API service forwards requests to container port 8080
- "traefik.http.services.api.loadbalancer.server.port=8080" - "traefik.http.services.api.loadbalancer.server.port=8080"
# Expose api at https://uat.api.retropilot.org # Expose api at https://uat.api.retropilot.org
- "traefik.http.routers.api.rule=Host(`uat.api.retropilot.org`) || Host(`uat.api.retropilot.org`)" - "traefik.http.routers.api.rule=Host(`uat.api.retropilot.org`)"
- "traefik.http.routers.api.entrypoints=websecure" - "traefik.http.routers.api.entrypoints=websecure"
- "traefik.http.routers.api.service=api@docker" - "traefik.http.routers.api.service=api@docker"
- "traefik.http.routers.api.tls=true" - "traefik.http.routers.api.tls=true"
@ -63,7 +63,7 @@ services:
# API worker # API worker
worker: worker:
# Use the same image as the server # Use the same image as the server
image: ghcr.io/retropilot/retropilot-server:uat image: ghcr.io/retropilot/retropilot-server:main
# But run the worker script instead # But run the worker script instead
command: npm run worker command: npm run worker
restart: unless-stopped restart: unless-stopped