Add richard user
Add docker-compose
This commit is contained in:
parent
de5fd0364b
commit
ed61a8630a
|
|
@ -1,21 +1,22 @@
|
||||||
version: '3.8'
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
nginx:
|
nginx:
|
||||||
image: nginx:latest
|
image: nginx:latest
|
||||||
container_name: nginx-proxy
|
hostname: nginx
|
||||||
ports:
|
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:
|
depends_on:
|
||||||
- cmc
|
- cmc
|
||||||
volumes:
|
|
||||||
- ./nginx.conf:/etc/nginx/nginx.conf:ro # Mount custom Nginx configuration
|
|
||||||
networks:
|
networks:
|
||||||
- cmc-network
|
- cmc-network
|
||||||
|
|
||||||
cmc:
|
cmc:
|
||||||
image: cmc:latest
|
image: cmc:latest
|
||||||
platform: linux/amd64
|
platform: linux/amd64
|
||||||
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
volumes:
|
volumes:
|
||||||
|
|
|
||||||
|
|
@ -14,3 +14,4 @@ wesley:$apr1$lIwKEd6Q$ivhttYakzJqsdp26lKBYG.
|
||||||
josephine:$apr1$Grj0l9mC$m50ToD9Dd.WsWFpqtjleK/
|
josephine:$apr1$Grj0l9mC$m50ToD9Dd.WsWFpqtjleK/
|
||||||
haris:$apr1$7xqS6Oxx$3HeURNx9ceTV4WsaZEx2h1
|
haris:$apr1$7xqS6Oxx$3HeURNx9ceTV4WsaZEx2h1
|
||||||
despina:$apr1$wyWhXD4y$UHG9//5wMwI3bkccyAMgz1
|
despina:$apr1$wyWhXD4y$UHG9//5wMwI3bkccyAMgz1
|
||||||
|
richard:$apr1$zCU0qIap$yQsxxQhi640H05etxWRFS/
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue