repos / pico

pico services - prose.sh, pastes.sh, imgs.sh, feeds.sh, pgs.sh
git clone https://github.com/picosh/pico.git

Antonio Mika · 11 Oct 24

docker-compose.override.yml

  1version: "3.8"
  2services:
  3  postgres:
  4    env_file:
  5      - .env.example
  6    ports:
  7      - "5432:5432"
  8  minio:
  9    env_file:
 10      - .env.example
 11    ports:
 12      - "9000:9000"
 13      - "9001:9001"
 14  registry:
 15    env_file:
 16      - .env.example
 17    ports:
 18      - "5000:5000"
 19    volumes:
 20      - ./imgs/registry.yml:/etc/docker/registry/config.yml
 21  imgproxy:
 22    env_file:
 23      - .env.example
 24    volumes:
 25      - ./data/storage/data:/storage
 26    ports:
 27      - "8080:8080"
 28  pastes-web:
 29    build:
 30      args:
 31        APP: pastes
 32      target: release-web
 33    env_file:
 34      - .env.example
 35    ports:
 36      - "3001:3000"
 37  pastes-ssh:
 38    build:
 39      args:
 40        APP: pastes
 41      target: release-ssh
 42    env_file:
 43      - .env.example
 44    volumes:
 45      - ./data/pastes-ssh/data:/app/ssh_data
 46    ports:
 47      - "2221:2222"
 48  pipe-web:
 49    build:
 50      args:
 51        APP: pipe
 52      target: release-web
 53    env_file:
 54      - .env.example
 55    ports:
 56      - "3001:3000"
 57  pipe-ssh:
 58    build:
 59      args:
 60        APP: pipe
 61      target: release-ssh
 62    env_file:
 63      - .env.example
 64    volumes:
 65      - ./data/pipe-ssh/data:/app/ssh_data
 66    ports:
 67      - "2221:2222"
 68  prose-web:
 69    build:
 70      args:
 71        APP: prose
 72      target: release-web
 73    env_file:
 74      - .env.example
 75    ports:
 76      - "3002:3000"
 77  prose-ssh:
 78    build:
 79      args:
 80        APP: prose
 81      target: release-ssh
 82    env_file:
 83      - .env.example
 84    volumes:
 85      - ./data/prose-ssh/data:/app/ssh_data
 86    ports:
 87      - "2222:2222"
 88  imgs-web:
 89    build:
 90      args:
 91        APP: imgs
 92      target: release-web
 93    env_file:
 94      - .env.example
 95    volumes:
 96      - ./data/storage/data:/app/.storage
 97    ports:
 98      - "3003:3000"
 99  imgs-ssh:
100    build:
101      args:
102        APP: imgs
103      target: release-ssh
104    env_file:
105      - .env.example
106    volumes:
107      - ./data/storage/data:/app/.storage
108      - ./data/imgs-ssh/data:/app/ssh_data
109    ports:
110      - "2223:2222"
111  pgs-web:
112    build:
113      args:
114        APP: pgs
115      target: release-web
116    env_file:
117      - .env.example
118    volumes:
119      - ./data/storage/data:/app/.storage
120    ports:
121      - "3004:3000"
122  pgs-ssh:
123    build:
124      args:
125        APP: pgs
126      target: release-ssh
127    env_file:
128      - .env.example
129    volumes:
130      - ./data/storage/data:/app/.storage
131      - ./data/pgs-ssh/data:/app/ssh_data
132    ports:
133      - "2224:2222"
134  feeds-web:
135    build:
136      args:
137        APP: feeds
138      target: release-web
139    env_file:
140      - .env.example
141    ports:
142      - "3005:3000"
143  feeds-ssh:
144    build:
145      args:
146        APP: feeds
147      target: release-ssh
148    env_file:
149      - .env.example
150    volumes:
151      - ./data/feeds-ssh/data:/app/ssh_data
152    ports:
153      - "2225:2222"
154  pico-ssh:
155    build:
156      args:
157        APP: pico
158      target: release-ssh
159    env_file:
160      - .env.example
161    volumes:
162      - ./data/pico-ssh/data:/app/ssh_data
163    ports:
164      - "2226:2222"
165  auth-web:
166    build:
167      args:
168        APP: auth
169      target: release-web
170    env_file:
171      - .env.example
172    ports:
173      - "3006:3000"
174  bouncer:
175    build:
176      context: bouncer/
177    env_file:
178      - .env.example
179    volumes:
180      - ./data/bouncer:/app/db
181      - ./data/certs:/certs
182    ports:
183      - "6697:6697"
184      - "8081:8080"