Something went wrong. Try again.
Perl game server for TLE Community
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190services: beanstalk-console: container_name: beanstalk-console restart: unless-stopped depends_on: - beanstalk image: schickling/beanstalkd-console
beanstalk: container_name: beanstalk restart: unless-stopped image: schickling/beanstalkd
memcached: container_name: memcached restart: unless-stopped image: memcached command: # Persist cache in a file to save sessions (and other data) between restarts of the docker container - --memory-file=/tempfs_mount/memory_file volumes: - ./data/memcached:/tempfs_mount
mysql: container_name: mysql platform: linux/amd64 restart: unless-stopped environment: MYSQL_ROOT_PASSWORD: ${LACUNA_MYSQL_ROOT_PASSWORD:?error} image: mysql:5.5 volumes: - ./data/mysql:/var/lib/mysql healthcheck: # mysqladmin ping exits 0 once mysqld accepts connections; passing creds # makes it a truer check (it would also exit 0 on an auth failure). test: ['CMD-SHELL', 'mysqladmin ping -h 127.0.0.1 -u root -p"$$MYSQL_ROOT_PASSWORD" --silent'] interval: 10s timeout: 5s retries: 10 start_period: 30s
phpmyadmin: container_name: phpmyadmin image: phpmyadmin:5.2-apache restart: unless-stopped ports: - 8000:80 environment: PMA_HOST: mysql depends_on: - mysql links: - mysql
caddy: image: caddy:2.8-alpine container_name: caddy restart: unless-stopped depends_on: server: condition: service_healthy ports: # Dev front door: point the UI client at http://localhost:8080/ - 8080:80 volumes: - ./etc/Caddyfile:/etc/caddy/Caddyfile:ro - ./data/public-captcha:/home/lacuna/server/public/captcha - ./data/public-network19:/home/lacuna/server/public/network19 - ./data/public-missioncommand:/home/lacuna/server/public/missioncommand - ./data/public-server:/home/lacuna/server/public/server - ./public/dummy-captcha.png:/home/lacuna/server/public/dummy-captcha.png:ro - ./public/resources.json:/home/lacuna/server/public/resources.json:ro - ./public/robots.txt:/home/lacuna/server/public/robots.txt:ro - ./public/changes.txt:/home/lacuna/server/public/changes.txt:ro - ./log/caddy:/home/lacuna/server/log/caddy - ./data/caddy-data:/data - ./data/caddy-config:/config
server: build: context: . dockerfile: Dockerfile command: '/bin/bash bin/start_lacuna.sh' container_name: server restart: unless-stopped depends_on: mysql: condition: service_healthy memcached: condition: service_started beanstalk: condition: service_started environment: # Disables the prod-only size-limit / profiling middleware (bin/lacuna.psgi). TLE_NO_MIDDLEWARE: 1 volumes: - ./bin:/home/lacuna/server/bin - ./data/public-captcha:/home/lacuna/server/public/captcha - ./data/public-missioncommand:/home/lacuna/server/public/missioncommand - ./data/public-network19:/home/lacuna/server/public/network19 - ./data/public-server:/home/lacuna/server/public/server - ./etc:/home/lacuna/server/etc - ./lib:/home/lacuna/server/lib - ./log:/home/lacuna/server/log - ./missions:/home/lacuna/server/missions - ./t:/home/lacuna/server/t - ./tmp:/tmp - ./var:/home/lacuna/server/var - ./cpanfile:/home/lacuna/server/cpanfile - ./cpanfile.snapshot:/home/lacuna/server/cpanfile.snapshot healthcheck: # /starman_ping (bin/lacuna.psgi) returns "pong" only once the Lacuna app # has compiled and Starman is serving requests. curl is in the server image. test: ['CMD', 'curl', '-fsS', 'http://localhost:5000/starman_ping'] interval: 15s timeout: 10s retries: 5 start_period: 180s
server-building-scheduler: build: context: . dockerfile: Dockerfile command: '/bin/bash bin/run_scheduler.sh schedule_building.pl --noquiet --nodaemonize --initialize' container_name: server-building-scheduler restart: unless-stopped depends_on: server: condition: service_healthy volumes: - ./tmp:/tmp - ./log:/home/lacuna/server/log - ./etc:/home/lacuna/server/etc
server-ship-scheduler: build: context: . dockerfile: Dockerfile command: '/bin/bash bin/run_scheduler.sh schedule_ship_arrival.pl --noquiet --nodaemonize --initialize' container_name: server-ship-scheduler restart: unless-stopped depends_on: server: condition: service_healthy volumes: - ./tmp:/tmp - ./log:/home/lacuna/server/log - ./etc:/home/lacuna/server/etc
server-captcha-scheduler: build: context: . dockerfile: Dockerfile command: '/bin/bash bin/run_scheduler.sh schedule_captcha.pl --noquiet --nodaemonize' container_name: server-captcha-scheduler restart: unless-stopped depends_on: server: condition: service_healthy volumes: - ./tmp:/tmp - ./log:/home/lacuna/server/log - ./etc:/home/lacuna/server/etc
server-script-scheduler: container_name: server-script-scheduler image: mcuadros/ofelia:latest restart: unless-stopped depends_on: server: condition: service_healthy command: daemon volumes: - /var/run/docker.sock:/var/run/docker.sock:ro - ./etc/schedule.ini:/etc/ofelia.conf
v2-api: image: atcr.io/tlecommunity.com/v2-api:latest restart: unless-stopped container_name: v2-api command: node index.ts environment: PORT: 5999
networks: default: name: lacuna
name: lacuna