add docker-compose.auth.expose.yml
This commit is contained in:
parent
784ee606cc
commit
3c1a186c31
27
docker-compose.auth.expose.yml
Normal file
27
docker-compose.auth.expose.yml
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
version: '3'
|
||||||
|
|
||||||
|
services:
|
||||||
|
server:
|
||||||
|
ports:
|
||||||
|
- '${PORT_EXPOSE}:80'
|
||||||
|
image: nginx:alpine
|
||||||
|
environment:
|
||||||
|
- APPLICATION=${APPLICATION}
|
||||||
|
- AUTH_MODE=${AUTH_MODE}
|
||||||
|
- REFRESH_TOKEN=${REFRESH_TOKEN}
|
||||||
|
volumes:
|
||||||
|
- ./config/nginx.auth.conf:/etc/nginx/templates/default.conf.template
|
||||||
|
- ./config/include:/etc/nginx/include
|
||||||
|
- ./config/http/nginx.conf:/etc/nginx/nginx.conf
|
||||||
|
restart: always
|
||||||
|
networks:
|
||||||
|
- auth_network
|
||||||
|
- app_network
|
||||||
|
|
||||||
|
networks:
|
||||||
|
auth_network:
|
||||||
|
external:
|
||||||
|
name: auth_network
|
||||||
|
app_network:
|
||||||
|
external:
|
||||||
|
name: ${NETWORK_NAME}
|
||||||
Loading…
x
Reference in New Issue
Block a user