-
Notifications
You must be signed in to change notification settings - Fork 84
/
podman-compose.yml
49 lines (44 loc) · 999 Bytes
/
podman-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
version: "3"
volumes:
redis:
services:
server:
image: "asu:latest"
build:
context: ./
dockerfile: Containerfile
restart: always
environment:
- REDIS_URL=redis://redis/
ports:
- "127.0.0.1:8000:8000"
depends_on:
- redis
worker:
image: "asu:latest"
build:
context: ./
dockerfile: Containerfile
restart: always
command: rqworker --with-scheduler
environment:
- CONTAINER_HOST=unix://$CONTAINER_SOCK
- REDIS_URL=redis://redis/
volumes:
- $PUBLIC_PATH:$PUBLIC_PATH:rw
- $CONTAINER_SOCK:$CONTAINER_SOCK:rw
depends_on:
- redis
redis:
image: "docker.io/redis/redis-stack-server"
restart: always
volumes:
- redis:/data/:rw
squid:
image: "docker.io/ubuntu/squid:latest"
restart: always
ports:
- "127.0.0.1:3128:3128"
volumes:
- "./misc/snippet.conf:/etc/squid/conf.d/snippet.conf:ro"
- "./squid/:/var/spool/squid/:rw"