diff --git a/.env b/.env index c2f3e56..3f8ea43 100644 --- a/.env +++ b/.env @@ -1,8 +1,11 @@ -# URL +# MAIN MAIN_DOMAIN=neah.local -KEYCLOAK_HOST=connect -KEYCLOAK_HOST_IP=172.16.32.141 # Keycloak KEYCLOAK_USER=admin -KEYCLOAK_PASSWORD="A5w3@77r!jpS&sPY2$$mu#F3#K2LC7@u" \ No newline at end of file +KEYCLOAK_PASSWORD="A5w3@77r!jpS&sPY2$$mu#F3#K2LC7@u" +KEYCLOAK_HOST_IP=172.16.32.134 +KEYCLOAK_HOST=connect + +# Portainer +PORTAINER_HOST=portainer \ No newline at end of file diff --git a/compose.yml b/compose.yml index 18ba353..63dc686 100644 --- a/compose.yml +++ b/compose.yml @@ -20,6 +20,19 @@ services: networks: - default + portainer: + container_name: neah-portainer + image: portainer/portainer-ce:latest + volumes: + - /var/run/docker.sock:/var/run/docker.sock + - portainer_data:/data + labels: + - "traefik.enable=true" + - "traefik.http.routers.neah-portainer.rule=Host(`${PORTAINER_HOST}.${MAIN_DOMAIN}`)" + - "traefik.http.services.neah-portainer.loadbalancer.server.port=9000" + networks: + - default + front: container_name: neah-front build: