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
2 changed files with 46 additions and 37 deletions

View File

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