• R/O
  • SSH

manifest: Commit

A service to replicate and serve requests for site configurations based on site ID, public IP, and the on-site lead contact's OTP.


Commit MetaInfo

Revisiónfb9934e45af353a127a4d20ce9d61a6839beb29b (tree)
Tiempo2021-10-15 03:08:14
AutorS. Seago <sseago-dev@proj...>
CommiterS. Seago

Log Message

Add ports spec., add mongo-express

Specify port and protocol for the listed services and added
mongo-express for one-off debugging and tweaking for mongodb
data and runtime.

Cambiar Resumen

Diferencia incremental

diff -r 746174aa079a -r fb9934e45af3 container/templates/docker-compose.yml
--- a/container/templates/docker-compose.yml Thu Oct 14 08:45:27 2021 -0500
+++ b/container/templates/docker-compose.yml Thu Oct 14 13:08:14 2021 -0500
@@ -3,20 +3,20 @@
33 dns:
44 image: coredns
55 ports:
6- - 53:53
7-
8-
6+ - 53:53/udp
7+ - 53:53/tcp
8+ - 67:67/tcp
99 httpd:
1010 image: httpd
1111 ports:
12- - 80:80
13- - 443:443
12+ - 80:80/tcp
13+ - 443:443/tcp
1414 environment:
1515 - MONGO_INITDB_ROOT_USERNAME=admin
1616 - MONGO_INITDB_ROOT_PASSWORD=password
1717 volumes:
18- - /srv/apache/www:/var/www
19- - /srv/apache/etc:/etc/a
18+ - ./srv/apache/www:/var/www
19+ - ./srv/apache/etc:/etc/a
2020 letsencrypt:
2121 image: blacklabelops/letsencrypt
2222 volumes:
@@ -29,6 +29,15 @@
2929 mongodb:
3030 image: mongo
3131 ports:
32- - 27017:27017
32+ - 27017:27017/tcp
3333 volumes:
34- -
\ No newline at end of file
34+ - ./srv/mongodb/data:
35+ mongo-express:
36+ image: mongo-express
37+ restart: always
38+ ports:
39+ - 8081:8081/tcp
40+ environment:
41+ ME_CONFIG_MONGODB_ADMINUSERNAME: root
42+ ME_CONFIG_MONGODB_ADMINPASSWORD: example
43+ ME_CONFIG_MONGODB_URL: mongodb://root:example@mongo:27017/
\ No newline at end of file
Show on old repository browser