Add richard user
Add docker-compose
This commit is contained in:
parent
de5fd0364b
commit
ed61a8630a
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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/
|
||||
|
|
|
|||
Loading…
Reference in a new issue