Last active
March 5, 2019 23:44
-
-
Save made2591/a53db169ba6f52c24f20d76714e2e37b to your computer and use it in GitHub Desktop.
A docker compose to start up a proxy and a simple web server for illustrative purposes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3" | |
services: | |
proxy: | |
container_name: proxy | |
restart: always | |
image: debian:jessie | |
privileged: true | |
ports: | |
- "80:80" | |
networks: | |
- frontend | |
- backend | |
tty: true | |
server: | |
container_name: server | |
restart: always | |
image: yeasy/simple-web:latest | |
privileged: true | |
networks: | |
- backend | |
tty: true | |
networks: | |
frontend: | |
driver: bridge | |
backend: | |
driver: bridge |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment