mirror of
https://github.com/IT4Change/gradido.git
synced 2026-02-06 09:56:05 +00:00
* frontend - moved to vue 2.7 and vite * frontend - moved to vue 3 * frontend - login page updates * fix(frontend): WiP migration * fix(frontend): WiP migration * fix(frontend): WiP migration * fix(frontend): WiP migration * fix(frontend): WiP migration * fix(frontend): fix eslint/stylelint issues * fix(frontend): fix eslint/stylelint issues * feature(frontend): update node in docker frontend * feature(frontend): move send types out of Send file * feature(frontend): add entry in package json to fix eslint issue * feature(frontend): eslint fix * replace docker-compose with docker compose * update docker-compose test file * feature(frontend): Creation fixes * feature(frontend): Add missing updates for apollo scripts. --------- Co-authored-by: einhornimmond <silas@einhornimmond.de>
148 lines
4.4 KiB
YAML
148 lines
4.4 KiB
YAML
version: "3.4"
|
|
|
|
services:
|
|
########################################################
|
|
# FRONTEND #############################################
|
|
########################################################
|
|
frontend:
|
|
image: gradido/frontend:test
|
|
build:
|
|
target: test
|
|
environment:
|
|
- NODE_ENV="test"
|
|
|
|
########################################################
|
|
# ADMIN INTERFACE ######################################
|
|
########################################################
|
|
admin:
|
|
image: gradido/admin:test
|
|
build:
|
|
target: test
|
|
environment:
|
|
- NODE_ENV="test"
|
|
|
|
########################################################
|
|
# BACKEND ##############################################
|
|
########################################################
|
|
backend:
|
|
# name the image so that it cannot be found in a DockerHub repository, otherwise it will not be built locally from the 'dockerfile' but pulled from there
|
|
image: gradido/backend:test
|
|
build:
|
|
target: test
|
|
networks:
|
|
- external-net
|
|
- internal-net
|
|
environment:
|
|
- NODE_ENV="test"
|
|
- DB_HOST=mariadb
|
|
|
|
########################################################
|
|
# FEDERATION ###########################################
|
|
########################################################
|
|
federation:
|
|
# name the image so that it cannot be found in a DockerHub repository, otherwise it will not be built locally from the 'dockerfile' but pulled from there
|
|
image: gradido/federation:test
|
|
build:
|
|
target: test
|
|
networks:
|
|
- external-net
|
|
- internal-net
|
|
environment:
|
|
- NODE_ENV="test"
|
|
- DB_HOST=mariadb
|
|
|
|
########################################################
|
|
# DLT-CONNECTOR ########################################
|
|
########################################################
|
|
dlt-connector:
|
|
# name the image so that it cannot be found in a DockerHub repository, otherwise it will not be built locally from the 'dockerfile' but pulled from there
|
|
image: gradido/dlt-connector:test
|
|
build:
|
|
target: test
|
|
networks:
|
|
- external-net
|
|
- internal-net
|
|
environment:
|
|
- NODE_ENV="test"
|
|
- DB_HOST=mariadb
|
|
|
|
########################################################
|
|
# DATABASE #############################################
|
|
########################################################
|
|
database:
|
|
image: gradido/database:test_up
|
|
build:
|
|
context: ./database
|
|
target: test_up
|
|
environment:
|
|
- NODE_ENV="test"
|
|
# restart: always # this is very dangerous, but worth a test for the delayed mariadb startup at first run
|
|
|
|
########################################################
|
|
# DLT-DATABASE #############################################
|
|
########################################################
|
|
dlt-database:
|
|
image: gradido/dlt-database:test_up
|
|
build:
|
|
context: ./dlt-database
|
|
target: test_up
|
|
environment:
|
|
- NODE_ENV="test"
|
|
# restart: always # this is very dangerous, but worth a test for the delayed mariadb startup at first run
|
|
|
|
#########################################################
|
|
## MARIADB ##############################################
|
|
#########################################################
|
|
mariadb:
|
|
image: gradido/mariadb:test
|
|
environment:
|
|
- MARIADB_ALLOW_EMPTY_ROOT_PASSWORD=1
|
|
- MARIADB_USER=root
|
|
networks:
|
|
- internal-net
|
|
- external-net
|
|
volumes:
|
|
- db_test_vol:/var/lib/mysql
|
|
|
|
#########################################################
|
|
## PHPMYADMIN ###########################################
|
|
#########################################################
|
|
phpmyadmin:
|
|
image: phpmyadmin
|
|
environment:
|
|
- PMA_ARBITRARY=1
|
|
#restart: always
|
|
ports:
|
|
- 8074:80
|
|
networks:
|
|
- internal-net
|
|
- external-net
|
|
volumes:
|
|
- /sessions
|
|
|
|
#########################################################
|
|
## NGINX ################################################
|
|
#########################################################
|
|
nginx:
|
|
image: gradido/nginx:test
|
|
|
|
########################################################
|
|
# MAILSERVER TO FAKE SMTP ##############################
|
|
########################################################
|
|
mailserver:
|
|
image: maildev/maildev
|
|
ports:
|
|
- 1080:1080
|
|
- 1025:1025
|
|
networks:
|
|
- external-net
|
|
|
|
networks:
|
|
external-net:
|
|
internal-net:
|
|
internal: true
|
|
|
|
volumes:
|
|
db_test_vol:
|
|
|