Add container names docker-compose files (#38)

This commit is contained in:
alphabet5 2022-03-21 04:52:07 -05:00 committed by GitHub
parent d653997d4d
commit db9dfe3424
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 46 additions and 37 deletions

View file

@ -7,6 +7,7 @@ volumes:
services: services:
keycloak: keycloak:
container_name: keycloak
image: richardjkendall/keycloak-arm:latest image: richardjkendall/keycloak-arm:latest
hostname: keycloak hostname: keycloak
volumes: volumes:
@ -25,6 +26,7 @@ services:
retries: 10 retries: 10
start_period: 5s start_period: 5s
xrdp: xrdp:
container_name: xrdp
hostname: xrdp hostname: xrdp
image: rattydave/docker-ubuntu-xrdp-mate-custom:20.04 image: rattydave/docker-ubuntu-xrdp-mate-custom:20.04
ports: ports:
@ -35,6 +37,7 @@ services:
environment: environment:
TZ: "Europe/Amsterdam" TZ: "Europe/Amsterdam"
rdpgw: rdpgw:
container_name: rdpgw
build: . build: .
ports: ports:
- 9443:9443 - 9443:9443

View file

@ -7,6 +7,7 @@ volumes:
services: services:
keycloak: keycloak:
container_name: keycloak
image: quay.io/keycloak/keycloak:latest image: quay.io/keycloak/keycloak:latest
hostname: keycloak hostname: keycloak
volumes: volumes:
@ -15,9 +16,13 @@ services:
KEYCLOAK_USER: admin KEYCLOAK_USER: admin
KEYCLOAK_PASSWORD: admin KEYCLOAK_PASSWORD: admin
KEYCLOAK_IMPORT: /export/realm-export.json KEYCLOAK_IMPORT: /export/realm-export.json
KEYCLOAK_ADMIN: admin
KEYCLOAD_ADMIN_PASSWORD: admin
ports: ports:
- 8080:8080 - 8080:8080
restart: on-failure restart: on-failure
command:
- start-dev
healthcheck: healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080/auth"] test: ["CMD", "curl", "-f", "http://localhost:8080/auth"]
interval: 30s interval: 30s
@ -25,6 +30,7 @@ services:
retries: 10 retries: 10
start_period: 5s start_period: 5s
xrdp: xrdp:
container_name: xrdp
hostname: xrdp hostname: xrdp
image: rattydave/docker-ubuntu-xrdp-mate-custom:20.04 image: rattydave/docker-ubuntu-xrdp-mate-custom:20.04
ports: ports: