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.
 
 
docker-myip/docker-compose.yml

20 lines
375 B

version: '3'
services:
nginx:
build:
context: nginx/.
args:
- IMAGE=${MYIP_IMG:-nginx}
- TAG=${MYIP_TAG:-alpine}
container_name: ${MYIP_CONTAINER_NAME:-myip-nginx}
restart: ${MYIP_RESTART:-unless-stopped}
expose:
- 80
env_file:
- nginx.env
networks:
default:
external:
name: ${NETWORK:-webservices}