forked from ptrofimov/beanstalk_console
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
42 lines (38 loc) · 1.1 KB
/
docker-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
##
# docker-compose.yml
#
# author: Rion Dooley <[email protected]>
#
# This is a basic Docker Compose file to start the beanstalkd console webapp and a
# fully functional beanstalkd instance in a single command. The beanstalkd server
# is accessible on standard port 11300. The beanstalkd console is available at
# http://<your docker host>:9080.
#
# By default, a new image will be built from the the source code in this repository.
# You may also skip the build step and use the public, automated build of this
# repository by commenting out the build argument and uncommenting the image argument.
#
# If you need a persistent beanstalkd binlog, simply uncomment the last 5 lines.
#
#
---
version: '3'
services:
web:
## Optionally; you can use a ready image changing:
## * `build: .`
## into:
## * image: agaveapi/beanstalkd-console
build: .
ports:
- 80:80
environment:
- BEANSTALKD_HOST=beanstalkd
links:
- beanstalkd
beanstalkd:
image: dinamic/docker-alpine-beanstalkd
volumes:
- beanstalkd_data:/var/lib/beanstald
volumes:
beanstalkd_data: