blob: e80c1d5eb510ca8146e0fa044e0688618be916b8 [file] [log] [blame]
Chmouel Boudjnah28fa4e82011-11-01 12:30:55 +01001[DEFAULT]
2bind_port = 8080
Chmouel Boudjnah88d54992011-11-02 01:10:38 +01003user = %USER%
Chmouel Boudjnah3a648262011-11-03 10:43:46 +01004swift_dir = %SWIFT_CONFIG_LOCATION%
Chmouel Boudjnah769eb1c2011-11-22 13:04:40 +01005workers = 1
6log_name = swift
7log_facility = LOG_LOCAL1
8log_level = DEBUG
Chmouel Boudjnah28fa4e82011-11-01 12:30:55 +01009
10[pipeline:main]
Chmouel Boudjnah8534bcb2012-02-25 08:04:48 +000011pipeline = healthcheck cache swift3 %AUTH_SERVER% proxy-server
Chmouel Boudjnah28fa4e82011-11-01 12:30:55 +010012
13[app:proxy-server]
14use = egg:swift#proxy
15allow_account_management = true
Chmouel Boudjnahd5651bb2011-11-01 16:22:08 +010016account_autocreate = true
Chmouel Boudjnah28fa4e82011-11-01 12:30:55 +010017
Chmouel Boudjnah45c51132011-11-01 19:32:23 +010018[filter:keystone]
Chmouel Boudjnah8534bcb2012-02-25 08:04:48 +000019paste.filter_factory = keystone.middleware.swift_auth:filter_factory
20operator_roles = Member,admin
21
22[filter:s3token]
23paste.filter_factory = keystone.middleware.s3_token:filter_factory
24service_port = %KEYSTONE_SERVICE_PORT%
25service_host = %KEYSTONE_SERVICE_HOST%
26auth_port = %KEYSTONE_AUTH_PORT%
27auth_host = %KEYSTONE_AUTH_HOST%
28auth_protocol = %KEYSTONE_AUTH_PROTOCOL%
29auth_token = %SERVICE_TOKEN%
30admin_token = %SERVICE_TOKEN%
31
32[filter:tokenauth]
33paste.filter_factory = keystone.middleware.auth_token:filter_factory
Dean Troyerb3288382012-02-28 16:41:10 -060034# FIXME(dtroyer): remove these service_* entries after auth_token is updated
Chmouel Boudjnah8534bcb2012-02-25 08:04:48 +000035service_port = %KEYSTONE_SERVICE_PORT%
36service_host = %KEYSTONE_SERVICE_HOST%
37auth_port = %KEYSTONE_AUTH_PORT%
38auth_host = %KEYSTONE_AUTH_HOST%
39auth_protocol = %KEYSTONE_AUTH_PROTOCOL%
40auth_token = %SERVICE_TOKEN%
Dean Troyerb3288382012-02-28 16:41:10 -060041# FIXME(dtroyer): remove admin_token after auth_token is updated
Chmouel Boudjnah8534bcb2012-02-25 08:04:48 +000042admin_token = %SERVICE_TOKEN%
Dean Troyerb3288382012-02-28 16:41:10 -060043admin_tenant_name = %SERVICE_TENANT_NAME%
44admin_user = %SERVICE_USERNAME%
45admin_password = %SERVICE_PASSWORD%
Chmouel Boudjnah8534bcb2012-02-25 08:04:48 +000046cache = swift.cache
47
48[filter:swift3]
49use = egg:swift#swift3
Chmouel Boudjnah45c51132011-11-01 19:32:23 +010050
Chmouel Boudjnah28fa4e82011-11-01 12:30:55 +010051[filter:tempauth]
52use = egg:swift#tempauth
53user_admin_admin = admin .admin .reseller_admin
54user_test_tester = testing .admin
55user_test2_tester2 = testing2 .admin
56user_test_tester3 = testing3
Chmouel Boudjnaha2cd8412011-11-01 12:36:10 +010057bind_ip = 0.0.0.0
Chmouel Boudjnah28fa4e82011-11-01 12:30:55 +010058
59[filter:healthcheck]
60use = egg:swift#healthcheck
61
62[filter:cache]
63use = egg:swift#memcache