mirror of https://github.com/mainnika/a-quest.git
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.
23 lines
461 B
23 lines
461 B
5 years ago
|
version: '3'
|
||
|
services:
|
||
|
static:
|
||
|
image: nginx
|
||
|
volumes:
|
||
|
- "./default.conf:/etc/nginx/conf.d/default.conf"
|
||
|
- "../../build/task1:/usr/share/nginx/html"
|
||
|
restart: unless-stopped
|
||
|
networks:
|
||
|
net:
|
||
|
ipv4_address: 10.103.204.1
|
||
|
backend1:
|
||
|
build:
|
||
|
dockerfile: ./Dockerfile.task1
|
||
|
context: ../../task1-backend
|
||
|
restart: unless-stopped
|
||
|
networks:
|
||
|
net: {}
|
||
|
|
||
|
networks:
|
||
|
net:
|
||
|
external:
|
||
|
name: tasks-net
|