2022-03-06 09:29:20 +00:00
|
|
|
version: "3"
|
|
|
|
networks:
|
|
|
|
nocobase:
|
|
|
|
driver: bridge
|
|
|
|
services:
|
2022-04-17 02:00:42 +00:00
|
|
|
verdaccio:
|
|
|
|
image: verdaccio/verdaccio
|
|
|
|
networks:
|
|
|
|
- nocobase
|
|
|
|
environment:
|
|
|
|
VERDACCIO_PORT: ${VERDACCIO_PORT}
|
|
|
|
restart: always
|
|
|
|
ports:
|
|
|
|
- "${VERDACCIO_PORT}:${VERDACCIO_PORT}"
|
2022-04-28 16:09:40 +00:00
|
|
|
mysql:
|
|
|
|
image: mysql:8
|
|
|
|
environment:
|
|
|
|
MYSQL_DATABASE: ${DB_DATABASE}
|
|
|
|
MYSQL_USER: ${DB_USER}
|
|
|
|
MYSQL_PASSWORD: ${DB_PASSWORD}
|
|
|
|
MYSQL_ROOT_PASSWORD: ${DB_PASSWORD}
|
2022-03-06 09:29:20 +00:00
|
|
|
restart: always
|
2022-04-28 16:09:40 +00:00
|
|
|
ports:
|
|
|
|
- "${DB_MYSQL_PORT}:3306"
|
2022-03-06 09:29:20 +00:00
|
|
|
networks:
|
|
|
|
- nocobase
|
|
|
|
postgres:
|
|
|
|
image: postgres:10
|
|
|
|
restart: always
|
|
|
|
networks:
|
|
|
|
- nocobase
|
|
|
|
command: postgres -c wal_level=logical
|
2022-04-28 16:09:40 +00:00
|
|
|
ports:
|
|
|
|
- "${DB_POSTGRES_PORT}:5432"
|
2022-03-06 09:29:20 +00:00
|
|
|
environment:
|
|
|
|
POSTGRES_USER: ${DB_USER}
|
|
|
|
POSTGRES_DB: ${DB_DATABASE}
|
|
|
|
POSTGRES_PASSWORD: ${DB_PASSWORD}
|
2022-04-28 16:09:40 +00:00
|
|
|
adminer:
|
|
|
|
image: nocobase/adminer
|
|
|
|
restart: always
|
|
|
|
networks:
|
|
|
|
- nocobase
|
|
|
|
ports:
|
|
|
|
- ${ADMINER_PORT}:8080
|
|
|
|
volumes:
|
|
|
|
- ./:/var/www/app
|
2022-03-06 09:29:20 +00:00
|
|
|
nocobase:
|
2022-05-25 13:00:45 +00:00
|
|
|
image: node:16-stretch-slim
|
2022-03-06 09:29:20 +00:00
|
|
|
networks:
|
|
|
|
- nocobase
|
2022-05-24 14:55:09 +00:00
|
|
|
command: [ "yarn", "start" ]
|
2022-03-06 09:29:20 +00:00
|
|
|
working_dir: /app
|
|
|
|
env_file: ./.env
|
|
|
|
volumes:
|
|
|
|
- ./:/app
|
|
|
|
expose:
|
2022-05-18 16:40:55 +00:00
|
|
|
- ${APP_PORT}
|
2022-03-06 09:29:20 +00:00
|
|
|
ports:
|
2022-05-18 16:40:55 +00:00
|
|
|
- "${APP_PORT}:${APP_PORT}"
|