Compare commits
7 Commits
e98c3864bb
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 1c3c3e6c64 | |||
| 99e4385250 | |||
| 16df6a6b41 | |||
| 6449535192 | |||
| b734a45b45 | |||
| 28e00a3096 | |||
| 2a8a668bdc |
21
ctiomag/docker-compose.yml
Normal file
21
ctiomag/docker-compose.yml
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
# a simple web page developed on OMEGA using NICEPAGE
|
||||||
|
# accessed via https://ctio.johnsnexus.click; this replaced the site developed on GHOST
|
||||||
|
# data files held on Production cluster
|
||||||
|
#
|
||||||
|
services:
|
||||||
|
ctiomag:
|
||||||
|
image: httpd:latest
|
||||||
|
container_name: ctiomag
|
||||||
|
deploy:
|
||||||
|
replicas: 1
|
||||||
|
restart: on-failure
|
||||||
|
ports:
|
||||||
|
- 8877:80
|
||||||
|
volumes:
|
||||||
|
- /media/gv0/ctiomag:/usr/local/apache2/htdocs
|
||||||
|
networks:
|
||||||
|
- caddy_net
|
||||||
|
|
||||||
|
networks:
|
||||||
|
caddy_net:
|
||||||
|
external: true
|
||||||
@@ -3,9 +3,6 @@ services:
|
|||||||
image: ghost:6.22.1
|
image: ghost:6.22.1
|
||||||
container_name: ghost
|
container_name: ghost
|
||||||
deploy:
|
deploy:
|
||||||
placement:
|
|
||||||
constraints:
|
|
||||||
- node.labels.target == here
|
|
||||||
replicas: 1
|
replicas: 1
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
@@ -41,13 +38,10 @@ services:
|
|||||||
image: mysql:8.4.6 # latest or last version of version 8; Ghost doesn't recognise version 9
|
image: mysql:8.4.6 # latest or last version of version 8; Ghost doesn't recognise version 9
|
||||||
container_name: mysql
|
container_name: mysql
|
||||||
deploy:
|
deploy:
|
||||||
placement:
|
|
||||||
constraints:
|
|
||||||
- node.labels.database == here
|
|
||||||
replicas: 1
|
replicas: 1
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- /media/gv0/docker/ghost/mysql:/var/lib/mysql:rw
|
- /media/gv0/docker/mysql/data:/var/lib/mysql:rw
|
||||||
environment:
|
environment:
|
||||||
MYSQL_ROOT_PASSWORD: Vegetable
|
MYSQL_ROOT_PASSWORD: Vegetable
|
||||||
MYSQL_DATABASE: ghostdb
|
MYSQL_DATABASE: ghostdb
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
services:
|
services:
|
||||||
uptime-kuma:
|
uptime-kuma:
|
||||||
image: louislam/uptime-kuma:2
|
image: louislam/uptime-kuma:2.2.1
|
||||||
container_name: uptime-kuma
|
container_name: uptime-kuma
|
||||||
deploy:
|
deploy:
|
||||||
placement:
|
placement:
|
||||||
|
|||||||
Reference in New Issue
Block a user