services:
mongodb:
image: mongo:7.0.7
restart: unless-stopped
command: mongod --logpath /dev/null --port 47017
ports:
- "47017:47017"
volumes:
- /var/lib/mongodb:/data/db
networks:
casinoapp:
ipv4_address: "172.47.0.5"
nginx:
image: nginx
container_name: nginx
volumes:
- dist:/usr/share/nginx/html
- ./nginx.conf:/etc/nginx/nginx.conf:ro
depends_on:
- client
networks:
casinoapp:
ipv4_address: "172.47.0.1"
client:
build: client/
tty: true
container_name: client
volumes:
- /etc/letsencrypt:/etc/letsencrypt
- dist:/client/dist
depends_on:
- server
networks:
casinoapp:
ipv4_address: "172.47.0.2"
server:
build: server/
container_name: server
tty: true
ports:
- "8080:8080"
depends_on:
- mongodb
networks:
casinoapp:
ipv4_address: "172.47.0.3"
socket:
build: socket/
container_name: socket
tty: true
ports:
- "9090:9090"
networks:
casinoapp:
ipv4_address: "172.47.0.4"
volumes:
dist:
networks:
casinoapp:
driver: bridge
ipam:
driver: default
config:
- subnet: "172.47.0.0/24"
gateway: "172.47.0.254"
driver_opts:
com.docker.network.bridge.name: casinoapp
root@tacit-quartz:~# sudo journalctl -u mongod
Apr 18 07:02:34 tacit-quartz.aeza.network systemd[1]: Started MongoDB Database Server.
Apr 18 07:02:34 tacit-quartz.aeza.network mongod[10175]: {"t":{"$date":"2024-04-18T04:02:34.491Z"},"s":"I", "c":"CONTROL", "id":7484500, "ctx":"-","msg":"Environment variable MONGODB_CONFIG_OVERRIDE_NO>
May 12 23:03:28 tacit-quartz.aeza.network systemd[1]: Stopping MongoDB Database Server...
May 12 23:03:28 tacit-quartz.aeza.network systemd[1]: mongod.service: Deactivated successfully.
May 12 23:03:28 tacit-quartz.aeza.network systemd[1]: Stopped MongoDB Database Server.
May 12 23:03:28 tacit-quartz.aeza.network systemd[1]: mongod.service: Consumed 2h 38min 38.739s CPU time.
May 12 23:03:28 tacit-quartz.aeza.network systemd[1]: Started MongoDB Database Server.
May 12 23:03:28 tacit-quartz.aeza.network mongod[2384169]: {"t":{"$date":"2024-05-12T20:03:28.483Z"},"s":"I", "c":"CONTROL", "id":7484500, "ctx":"-","msg":"Environment variable MONGODB_CONFIG_OVERRIDE_>
May 12 23:26:45 tacit-quartz.aeza.network systemd[1]: Stopping MongoDB Database Server...
May 12 23:26:45 tacit-quartz.aeza.network systemd[1]: mongod.service: Deactivated successfully.
May 12 23:26:45 tacit-quartz.aeza.network systemd[1]: Stopped MongoDB Database Server.
May 12 23:26:45 tacit-quartz.aeza.network systemd[1]: mongod.service: Consumed 7.101s CPU time.
May 12 23:29:14 tacit-quartz.aeza.network systemd[1]: Started MongoDB Database Server.
May 12 23:29:14 tacit-quartz.aeza.network mongod[2389770]: {"t":{"$date":"2024-05-12T20:29:14.376Z"},"s":"I", "c":"CONTROL", "id":7484500, "ctx":"main","msg":"Environment variable MONGODB_CONFIG_OVERRI>
May 12 23:29:14 tacit-quartz.aeza.network systemd[1]: mongod.service: Main process exited, code=exited, status=14/n/a
May 12 23:29:14 tacit-quartz.aeza.network systemd[1]: mongod.service: Failed with result 'exit-code'.
May 12 23:29:26 tacit-quartz.aeza.network systemd[1]: Started MongoDB Database Server.
May 12 23:29:26 tacit-quartz.aeza.network mongod[2389808]: {"t":{"$date":"2024-05-12T20:29:26.948Z"},"s":"I", "c":"CONTROL", "id":7484500, "ctx":"main","msg":"Environment variable MONGODB_CONFIG_OVERRI>
May 12 23:29:26 tacit-quartz.aeza.network systemd[1]: mongod.service: Main process exited, code=exited, status=14/n/a
May 12 23:29:26 tacit-quartz.aeza.network systemd[1]: mongod.service: Failed with result 'exit-code'.
-- Boot c46772b216d2409f9059b8709dda9785 --
May 12 23:30:26 tacit-quartz.aeza.network systemd[1]: Started MongoDB Database Server.
May 12 23:30:26 tacit-quartz.aeza.network mongod[1581]: {"t":{"$date":"2024-05-12T20:30:26.936Z"},"s":"I", "c":"CONTROL", "id":7484500, "ctx":"main","msg":"Environment variable MONGODB_CONFIG_OVERRIDE_>
May 12 23:39:27 tacit-quartz.aeza.network systemd[1]: Stopping MongoDB Database Server...
May 12 23:39:27 tacit-quartz.aeza.network systemd[1]: mongod.service: Deactivated successfully.
May 12 23:39:27 tacit-quartz.aeza.network systemd[1]: Stopped MongoDB Database Server.
May 12 23:39:27 tacit-quartz.aeza.network systemd[1]: mongod.service: Consumed 3.100s CPU time.
May 13 00:01:25 tacit-quartz.aeza.network systemd[1]: Started MongoDB Database Server.
May 13 00:01:25 tacit-quartz.aeza.network mongod[17124]: Unrecognized option: storage
May 13 00:01:25 tacit-quartz.aeza.network mongod[17124]: try '/usr/bin/mongod --help' for more information
May 13 00:01:25 tacit-quartz.aeza.network systemd[1]: mongod.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
May 13 00:01:25 tacit-quartz.aeza.network systemd[1]: mongod.service: Failed with result 'exit-code'.
May 13 00:01:32 tacit-quartz.aeza.network systemd[1]: Started MongoDB Database Server.
May 13 00:01:33 tacit-quartz.aeza.network mongod[17142]: Unrecognized option: storage
May 13 00:01:33 tacit-quartz.aeza.network mongod[17142]: try '/usr/bin/mongod --help' for more information
May 13 00:01:33 tacit-quartz.aeza.network systemd[1]: mongod.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
May 13 00:01:33 tacit-quartz.aeza.network systemd[1]: mongod.service: Failed with result 'exit-code'.
May 13 00:02:07 tacit-quartz.aeza.network systemd[1]: Started MongoDB Database Server.
May 13 00:02:07 tacit-quartz.aeza.network mongod[17167]: Unrecognized option: storage
May 13 00:02:07 tacit-quartz.aeza.network mongod[17167]: try '/usr/bin/mongod --help' for more information
May 13 00:02:07 tacit-quartz.aeza.network systemd[1]: mongod.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
May 13 00:02:07 tacit-quartz.aeza.network systemd[1]: mongod.service: Failed with result 'exit-code'.
-- Boot 60bc49b05ca04c39b1f10e0101f3529a --
May 13 00:05:06 tacit-quartz.aeza.network systemd[1]: Started MongoDB Database Server.
May 13 00:05:06 tacit-quartz.aeza.network mongod[3114]: Unrecognized option: storage
May 13 00:05:06 tacit-quartz.aeza.network mongod[3114]: try '/usr/bin/mongod --help' for more information
May 13 00:05:06 tacit-quartz.aeza.network systemd[1]: mongod.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
May 13 00:05:06 tacit-quartz.aeza.network systemd[1]: mongod.service: Failed with result 'exit-code'.
May 13 00:05:19 tacit-quartz.aeza.network systemd[1]: Started MongoDB Database Server.
May 13 00:05:19 tacit-quartz.aeza.network mongod[3185]: Unrecognized option: storage
May 13 00:05:19 tacit-quartz.aeza.network mongod[3185]: try '/usr/bin/mongod --help' for more information
May 13 00:05:19 tacit-quartz.aeza.network systemd[1]: mongod.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
May 13 00:05:19 tacit-quartz.aeza.network systemd[1]: mongod.service: Failed with result 'exit-code'.