2018-05-10 19:12:51 +00:00
|
|
|
version: '3'
|
|
|
|
|
|
|
|
services:
|
|
|
|
mysql:
|
|
|
|
image: mariadb
|
2020-11-13 14:15:37 +00:00
|
|
|
networks:
|
|
|
|
- fic-net
|
2018-05-10 19:12:51 +00:00
|
|
|
volumes:
|
|
|
|
- mysql-data:/var/lib/mysql
|
|
|
|
environment:
|
|
|
|
- MYSQL_ROOT_PASSWORD=toto
|
|
|
|
- MYSQL_DATABASE=fic
|
|
|
|
- MYSQL_USER=fic
|
|
|
|
- MYSQL_PASSWORD=fic
|
|
|
|
|
2021-08-30 17:43:35 +00:00
|
|
|
admin:
|
2018-05-10 19:12:51 +00:00
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: Dockerfile-admin
|
|
|
|
image: nemunaire/fic-admin:latest
|
|
|
|
ports:
|
|
|
|
- "8081:8081"
|
|
|
|
links:
|
|
|
|
- mysql
|
2020-11-13 14:15:37 +00:00
|
|
|
networks:
|
|
|
|
- fic-net
|
2018-05-10 19:12:51 +00:00
|
|
|
volumes:
|
2023-07-24 19:23:01 +00:00
|
|
|
- /mnt/fic:/mnt/fic
|
2018-12-06 02:48:53 +00:00
|
|
|
- dashboard:/srv/DASHBOARD
|
2018-05-10 19:12:51 +00:00
|
|
|
- files:/srv/FILES
|
2023-07-10 07:17:02 +00:00
|
|
|
- generator:/srv/GENERATOR:ro
|
2018-05-10 19:12:51 +00:00
|
|
|
- pki:/srv/PKI
|
|
|
|
- settings:/srv/SETTINGS
|
2023-07-03 12:13:16 +00:00
|
|
|
- settingsdist:/srv/SETTINGSDIST
|
2023-07-24 19:23:01 +00:00
|
|
|
- submissions:/srv/submissions:ro
|
2023-11-05 11:40:19 +00:00
|
|
|
- sync:/srv/SYNC
|
2023-07-24 19:23:01 +00:00
|
|
|
- teams:/srv/TEAMS
|
2019-09-06 23:31:31 +00:00
|
|
|
command: -baseurl /admin/ -localimport /mnt/fic -localimportsymlink
|
2018-05-10 19:12:51 +00:00
|
|
|
depends_on:
|
|
|
|
- mysql
|
|
|
|
environment:
|
2019-07-30 15:13:55 +00:00
|
|
|
- MYSQL_HOST=mysql
|
2018-05-15 19:14:35 +00:00
|
|
|
- FICCA_PASS
|
2018-05-10 19:12:51 +00:00
|
|
|
|
2023-07-03 12:13:16 +00:00
|
|
|
evdist:
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: Dockerfile-evdist
|
|
|
|
image: nemunaire/fic-evdist:latest
|
|
|
|
networks:
|
|
|
|
- fic-net
|
|
|
|
volumes:
|
2024-09-03 13:27:58 +00:00
|
|
|
- dashboard:/srv/DASHBOARD
|
2023-07-03 12:13:16 +00:00
|
|
|
- settings:/srv/SETTINGS
|
2023-07-09 18:43:56 +00:00
|
|
|
- settingsdist:/srv/SETTINGSDIST
|
2023-07-03 12:13:16 +00:00
|
|
|
|
2023-07-10 07:17:02 +00:00
|
|
|
checker:
|
2018-05-10 19:12:51 +00:00
|
|
|
build:
|
|
|
|
context: .
|
2023-07-10 07:17:02 +00:00
|
|
|
dockerfile: Dockerfile-checker
|
|
|
|
image: nemunaire/fic-checker:latest
|
2018-05-10 19:12:51 +00:00
|
|
|
links:
|
|
|
|
- mysql
|
2020-11-13 14:15:37 +00:00
|
|
|
networks:
|
|
|
|
- fic-net
|
2018-05-10 19:12:51 +00:00
|
|
|
volumes:
|
2023-07-10 07:17:02 +00:00
|
|
|
- generator:/srv/GENERATOR:ro
|
|
|
|
- teams:/srv/TEAMS:ro
|
2023-07-03 12:13:16 +00:00
|
|
|
- settingsdist:/srv/SETTINGSDIST:ro
|
2018-05-10 19:12:51 +00:00
|
|
|
- submissions:/srv/submissions
|
2023-07-10 07:17:02 +00:00
|
|
|
depends_on:
|
|
|
|
- mysql
|
|
|
|
- generator
|
|
|
|
environment:
|
|
|
|
- MYSQL_HOST=mysql
|
|
|
|
|
|
|
|
generator:
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: Dockerfile-generator
|
|
|
|
image: nemunaire/fic-generator:latest
|
|
|
|
links:
|
|
|
|
- mysql
|
|
|
|
networks:
|
|
|
|
- fic-net
|
|
|
|
volumes:
|
|
|
|
- generator:/srv/GENERATOR
|
|
|
|
- teams:/srv/TEAMS
|
|
|
|
- settingsdist:/srv/SETTINGSDIST:ro
|
2018-05-10 19:12:51 +00:00
|
|
|
depends_on:
|
|
|
|
- mysql
|
|
|
|
environment:
|
2019-07-30 15:13:55 +00:00
|
|
|
- MYSQL_HOST=mysql
|
2018-05-10 19:12:51 +00:00
|
|
|
|
2021-08-30 17:43:35 +00:00
|
|
|
qa:
|
2020-11-13 14:15:37 +00:00
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: Dockerfile-qa
|
|
|
|
image: nemunaire/fic-qa:latest
|
|
|
|
ports:
|
|
|
|
- "8083:8083"
|
|
|
|
links:
|
|
|
|
- mysql
|
|
|
|
networks:
|
|
|
|
- fic-net
|
|
|
|
volumes:
|
|
|
|
- teams:/srv/TEAMS
|
2023-07-28 08:34:56 +00:00
|
|
|
- settingsdist:/srv/SETTINGSDIST
|
2020-11-13 14:15:37 +00:00
|
|
|
command: -baseurl /qa/
|
|
|
|
depends_on:
|
|
|
|
- mysql
|
|
|
|
environment:
|
|
|
|
- MYSQL_HOST=mysql
|
|
|
|
|
2023-07-09 18:40:53 +00:00
|
|
|
receiver:
|
2018-05-10 19:12:51 +00:00
|
|
|
build:
|
|
|
|
context: .
|
2023-07-09 18:40:53 +00:00
|
|
|
dockerfile: Dockerfile-receiver
|
|
|
|
image: nemunaire/fic-receiver:latest
|
2023-07-09 18:43:56 +00:00
|
|
|
command: "-startedFile /srv/startingblock/started -bind :8080"
|
2018-05-10 19:12:51 +00:00
|
|
|
ports:
|
|
|
|
- "8080:8080"
|
2020-11-13 14:15:37 +00:00
|
|
|
networks:
|
|
|
|
- fic-net
|
2018-05-10 19:12:51 +00:00
|
|
|
volumes:
|
2018-12-06 02:48:53 +00:00
|
|
|
- htdocs:/srv/htdocs-frontend:ro
|
2018-05-10 19:12:51 +00:00
|
|
|
- files:/srv/FILES:ro
|
|
|
|
- teams:/srv/TEAMS:ro
|
2023-07-03 12:13:16 +00:00
|
|
|
- settingsdist:/srv/SETTINGSDIST:ro
|
2018-05-10 19:12:51 +00:00
|
|
|
- submissions:/srv/submissions
|
2019-07-30 17:32:07 +00:00
|
|
|
- startingblock:/srv/startingblock
|
2018-05-10 19:12:51 +00:00
|
|
|
|
2021-08-30 17:43:35 +00:00
|
|
|
dashboard:
|
2018-12-06 02:48:53 +00:00
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: Dockerfile-dashboard
|
|
|
|
image: nemunaire/fic-dashboard:latest
|
2019-09-06 23:31:31 +00:00
|
|
|
command: "-baseurl /dashboard/"
|
2018-12-06 02:48:53 +00:00
|
|
|
ports:
|
|
|
|
- "8082:8082"
|
2020-11-13 14:15:37 +00:00
|
|
|
networks:
|
|
|
|
- fic-net
|
2018-12-06 02:48:53 +00:00
|
|
|
volumes:
|
|
|
|
- dashboard:/srv/DASHBOARD
|
|
|
|
- teams:/srv/TEAMS:ro
|
2023-07-03 12:13:16 +00:00
|
|
|
- settingsdist:/srv/SETTINGSDIST:ro
|
2018-12-06 02:48:53 +00:00
|
|
|
|
2018-05-10 19:12:51 +00:00
|
|
|
front:
|
2021-08-30 17:43:35 +00:00
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: Dockerfile-nginx
|
|
|
|
image: nemunaire/fic-nginx:latest
|
2018-05-10 19:12:51 +00:00
|
|
|
ports:
|
|
|
|
- "8042:80"
|
2020-11-13 14:15:37 +00:00
|
|
|
networks:
|
|
|
|
- fic-net
|
2018-05-10 19:12:51 +00:00
|
|
|
volumes:
|
2023-07-09 18:43:56 +00:00
|
|
|
- ./configs/nginx/get-team/team-1.conf:/etc/nginx/fic-get-team.conf:ro
|
2018-12-06 02:48:53 +00:00
|
|
|
- /mnt/fic:/mnt/fic:ro
|
2018-05-10 19:12:51 +00:00
|
|
|
- files:/srv/FILES:ro
|
2023-07-03 12:13:16 +00:00
|
|
|
- settingsdist:/srv/SETTINGSDIST:ro
|
2023-11-05 11:40:19 +00:00
|
|
|
- sync:/srv/SYNC:ro
|
2018-05-10 19:12:51 +00:00
|
|
|
- teams:/srv/TEAMS:ro
|
2023-07-09 18:43:56 +00:00
|
|
|
- startingblock:/srv/STARTINGBLOCK:ro
|
2018-05-10 19:12:51 +00:00
|
|
|
depends_on:
|
2021-08-30 17:43:35 +00:00
|
|
|
- qa
|
2023-07-09 18:40:53 +00:00
|
|
|
- receiver
|
2021-08-30 17:43:35 +00:00
|
|
|
- dashboard
|
2023-07-10 07:17:02 +00:00
|
|
|
- checker
|
2021-08-30 17:43:35 +00:00
|
|
|
- admin
|
2018-05-10 19:12:51 +00:00
|
|
|
|
|
|
|
volumes:
|
|
|
|
mysql-data:
|
2018-12-06 02:48:53 +00:00
|
|
|
dashboard:
|
2018-05-10 19:12:51 +00:00
|
|
|
files:
|
|
|
|
htdocs:
|
2023-07-10 07:17:02 +00:00
|
|
|
generator:
|
2018-05-10 19:12:51 +00:00
|
|
|
pki:
|
|
|
|
settings:
|
2023-07-03 12:13:16 +00:00
|
|
|
settingsdist:
|
2019-07-30 17:32:07 +00:00
|
|
|
startingblock:
|
|
|
|
driver_opts:
|
|
|
|
type: tmpfs
|
|
|
|
device: tmpfs
|
2018-05-10 19:12:51 +00:00
|
|
|
submissions:
|
2023-11-05 11:40:19 +00:00
|
|
|
sync:
|
2018-05-10 19:12:51 +00:00
|
|
|
teams:
|
2020-11-13 14:15:37 +00:00
|
|
|
|
|
|
|
networks:
|
|
|
|
fic-net:
|