You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
688 B
34 lines
688 B
version: '3.8' |
|
services: |
|
nginx: |
|
image: nginx:alpine |
|
restart: unless-stopped |
|
tty: true |
|
ports: |
|
- '5144:80' |
|
# - '8555:443' |
|
volumes: |
|
- .:/var/www/html |
|
- ./docker/nginx/conf.d/:/etc/nginx/conf.d/ |
|
links: |
|
- app |
|
networks: |
|
- ospro |
|
depends_on: |
|
- app |
|
app: |
|
build: |
|
context: . |
|
dockerfile: Dockerfile |
|
restart: unless-stopped |
|
networks: |
|
- ospro |
|
volumes: |
|
- ./assets:/var/www/html/assets |
|
|
|
networks: |
|
ospro: |
|
driver: bridge |
|
volumes: |
|
db: |
|
driver: local
|
|
|