From ed61a8630af14a10225444a80a8159d006b8f4e6 Mon Sep 17 00:00:00 2001 From: Karl Cordes Date: Mon, 7 Apr 2025 17:49:00 +1000 Subject: [PATCH] Add richard user Add docker-compose --- docker-compose.yml | 13 +++++++------ userpasswd | 1 + 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 47d22d00..caa61d6e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,21 +1,22 @@ -version: '3.8' - services: nginx: image: nginx:latest - container_name: nginx-proxy + hostname: nginx ports: - - "80:80" # Expose port 80 for the reverse proxy + - "8888:80" # Expose HTTP traffic + volumes: + - ./conf/nginx.conf:/etc/nginx/conf.d/cmc.conf + # todo setup site config. + - ./userpasswd:/etc/nginx/userpasswd:ro depends_on: - cmc - volumes: - - ./nginx.conf:/etc/nginx/nginx.conf:ro # Mount custom Nginx configuration networks: - cmc-network cmc: image: cmc:latest platform: linux/amd64 + depends_on: - db volumes: diff --git a/userpasswd b/userpasswd index 82af2eda..656abc37 100644 --- a/userpasswd +++ b/userpasswd @@ -14,3 +14,4 @@ wesley:$apr1$lIwKEd6Q$ivhttYakzJqsdp26lKBYG. josephine:$apr1$Grj0l9mC$m50ToD9Dd.WsWFpqtjleK/ haris:$apr1$7xqS6Oxx$3HeURNx9ceTV4WsaZEx2h1 despina:$apr1$wyWhXD4y$UHG9//5wMwI3bkccyAMgz1 +richard:$apr1$zCU0qIap$yQsxxQhi640H05etxWRFS/