Removes swagger container and adds exposed port for DB in dev env
This commit is contained in:
parent
3b47decbb0
commit
4ada0feae3
@ -37,6 +37,8 @@ services:
|
|||||||
db:
|
db:
|
||||||
image: jc21/mariadb-aria
|
image: jc21/mariadb-aria
|
||||||
container_name: npm_db
|
container_name: npm_db
|
||||||
|
ports:
|
||||||
|
- 33306:3306
|
||||||
networks:
|
networks:
|
||||||
- nginx_proxy_manager
|
- nginx_proxy_manager
|
||||||
environment:
|
environment:
|
||||||
@ -47,19 +49,6 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- db_data:/var/lib/mysql
|
- db_data:/var/lib/mysql
|
||||||
|
|
||||||
swagger:
|
|
||||||
image: "swaggerapi/swagger-ui:latest"
|
|
||||||
container_name: npm_swagger
|
|
||||||
ports:
|
|
||||||
- 3001:80
|
|
||||||
networks:
|
|
||||||
- nginx_proxy_manager
|
|
||||||
environment:
|
|
||||||
URL: "http://127.0.0.1:3081/api/schema"
|
|
||||||
PORT: "80"
|
|
||||||
depends_on:
|
|
||||||
- npm
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
npm_data:
|
npm_data:
|
||||||
name: npm_core_data
|
name: npm_core_data
|
||||||
|
Loading…
Reference in New Issue
Block a user