gistfile1.txt
· 254 B · Text
原始檔案
version: '2'
services:
nginx:
image: docker.io/bitnami/nginx:1.23
restart: unless-stopped
container_name: bashrc
ports:
- '6013:8080'
volumes:
- ./app:/app
networks:
default:
name: monitoring-net
external: true
1 | version: '2' |
2 | services: |
3 | nginx: |
4 | image: docker.io/bitnami/nginx:1.23 |
5 | restart: unless-stopped |
6 | container_name: bashrc |
7 | ports: |
8 | - '6013:8080' |
9 | volumes: |
10 | - ./app:/app |
11 | networks: |
12 | default: |
13 | name: monitoring-net |
14 | external: true |